
<template>
  <div class="title-wrap">
    <img src="../assets/image/title_circle.png" class="circle" />
    <img src="../assets/image/title_wrap.png" class="wrap" />
    <div class="title">
      <slot></slot>
      <div class="des">
        <slot name="des"></slot>
      </div>
    </div>
  </div>
</template>

<script setup></script>
<style scoped lang="scss">
.title-wrap {
  display: flex;
  align-items: center;
  position: relative;
  .wrap {
    width: 440px;
    height: 38px;
  }
  .circle {
    position: absolute;
    left: -4px;
    top: -4px;
    width: 12px;
    height: 12px;
  }
  .title {
    position: absolute;
    top: 9px;
    left: 28px;
    font-size: 22px;
    display: flex;
    align-items: baseline;
    .des {
      font-size: 16px;
      color: rgba($color: #fff, $alpha: 0.5);
      margin-left: 5px;
    }
  }
}
</style>
